<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
    <class  name="cn.firstsoft.modules.loge.domain.LogeRule" table="loge_rule">
        <id name="id" column="id" type="integer">
            <generator class="native">
                    <param name="sequence">LOGE_RULE_ID_SEQ</param>
            </generator>
        </id>
        <property name="price" type="double">
            <column name="price"/>
       </property>
        <property name="name" type="string">
            <column name="name" length="50"/>
       </property>
        <property name="uom" type="string">
           <column name="uom" length="20"/>
       </property>
        <property name="type" type="string">
           <column name="type" length="20"/>
       </property>
        <property name="status" type="string">
           <column name="status" length="20"/>
       </property>
       <property name="rem" type="string">
           <column name="rems" length="250"/>
       </property>
    </class>
</hibernate-mapping>
